False power failure alert impact mitigation

ABSTRACT

A method includes receiving a signal indicating a loss of power, starting a timer, the timer configured to expire after a specific time period, copying, by a distributed storage system having volatile memory configured as a write cache, write cache data from the volatile memory to a solid state device, upon receiving the signal indicating the loss of power to the storage system, configuring, the solid state device as both a read cache and the write cache, performing a health test on the storage system upon receiving the signal indicating the loss of power, and determining the loss of power as a false alarm if the timer expires and the storage system passes a health test on the storage system.

CROSS REFERENCE TO RELATED APPLICATIONS

This Application is a Continuation of U.S. patent application Ser. No.14/818,578, filed on Aug. 5, 2015, which is a Continuation of U.S.patent application Ser. No. 14/074,100, filed on Nov. 7, 2013, now U.S.Pat. No. 9,170,958, which is a Continuation of U.S. patent applicationSer. No. 13/733,195, filed on Jan. 3, 2013, now U.S. Pat. No. 9,164,929.

FIELD OF THE INVENTION

The present invention relates generally to data storage, andspecifically to mitigating false alarms of power conditions, byconfiguring a solid state drive as a write cache.

BACKGROUND

When processing I/O requests, computer storage systems typicallyimplement read and write caches in order to enhance performance. A readcache typically comprises high-speed memory that is configured to storedata that was recently retrieved from a disk, plus data that thecomputer system anticipates will be requested in the near future.

For example, if a storage system receives a read request to retrievedata from a specific physical region of a storage device, in addition toprocessing the retrieval request, the computer system may also retrievephysical regions on the storage device that follow the specific region,and load the retrieved physical regions to the read cache. In operation,if a host computer issues a read request for data that is currently inthe read cache, then the storage system conveys the data directly fromthe read cache to the host computer, thereby eliminating the need tophysically retrieve the data from the disk. Read performance istherefore enhanced, since retrieving data from the read cache is muchfaster than retrieving the data from the disk.

When processing a write request received from a host computer, thestorage system stores the write request data in the write cache, andthen conveys an acknowledgement to the host computer that the data hassuccessfully been written to the disk. Upon receiving theacknowledgement, the host computer can proceed as if the data hassuccessfully been written to the disk. In operation, the storage systemis configured to destage (i.e., transfer) data from the write cache tothe disk at a subsequent time, typically when the write cache reaches aspecific utilization level. Write performance is therefore enhanced,since the write cache data (comprising data from multiple writerequests) can usually be transferred to the disk in a smaller number ofphysical write operations than would have been required had each writerequest been individually stored to the disk.

SUMMARY

There is provided, in accordance with an embodiment of the presentinvention a method, including receiving a signal indicating a loss ofpower, starting a timer, the timer configured to expire after a specifictime period, copying, by a distributed storage system having volatilememory configured as a write cache, write cache data from the volatilememory to a solid state device, upon receiving the signal indicating theloss of power to the storage system, configuring, subsequent to copyingthe write cache data, the solid state device as both a read cache andthe write cache, performing a health test on the storage system uponreceiving the signal indicating the loss of power, and determining theloss of power as a false alarm if the timer expires after one ofconfiguring the solid state device as both the read cache and the writecache and the storage system passes a health test on the storage systemupon receiving the signal indicating the loss of power.

BRIEF DESCRIPTION OF THE DRAWINGS

The disclosure is herein described, by way of example only, withreference to the accompanying drawings, wherein:

FIG. 1 is a schematic pictorial illustration of a storage system, inaccordance with an embodiment of the present invention;

FIG. 2 is a schematic pictorial illustration of a module of the storagesystem that is configured to mitigate an impact of false power failurealerts, in accordance with an embodiment of the present invention; and

FIG. 3 is a flow diagram that schematically illustrates a method ofreconfiguring a write cache, in accordance with an embodiment of thepresent invention.

DETAILED DESCRIPTION OF EMBODIMENTS

Storage systems typically implement read and write caches in volatilememory to improve input/output (I/O) performance. In the event of apower failure, any data in the caches is at risk of being lost when thepower is interrupted. To mitigate the risk of cache data loss, storagesystems may include a standby power source such as an uninterruptablepower supply (UPS) that is configured to provide power to the storagesystem in the event of a power failure.

When the UPS starts providing power to the storage system, the storagesystem receives a power alert. In response to the received power alert,the storage system prevents data loss by destaging data in the writecache (also referred to herein as write cache data) to disk(s), and thenpowering down the storage system.

There may be instances when the storage system receives a false poweralert and unnecessarily initiates a shutdown. Embodiments of the presentinvention provide methods and systems for mitigating false alarms ofpower conditions, by configuring, upon receiving a power alert, a solidstate device as a write cache. In some embodiments, the solid statedevice may comprise a solid state drive (SSD). As described hereinbelow,upon receiving a power alert, the storage system can copy the writecache data from volatile memory to the SSD, and then configure the SSDas the write cache.

The SSD typically comprises a data storage device that uses integratedcircuit assemblies as memory to store data persistently. For example,the SSD may comprise NAND-based flash memory. Since data stored in theSSD is persistent (i.e., immune to power loss), the write cache data isretained if the storage system shuts down when the UPS runs out ofpower. However, if the storage system detects that the power alert is afalse alarm, the storage system can copy the write cache data back tothe volatile memory and reconfigure the volatile memory as the writecache (i.e., the original configuration before receiving the poweralert).

FIG. 1 is a schematic pictorial illustration of a data processingstorage subsystem 20, in accordance with a disclosed embodiment of theinvention. The particular subsystem shown in FIG. 1 is presented tofacilitate an explanation of the invention. However, as the skilledartisan will appreciate, the invention can be practiced using othercomputing environments, such as other storage subsystems with diversearchitectures and capabilities.

Storage subsystem 20 receives, from one or more host computers 22,input/output (I/O) requests, which are commands to read or write data atlogical addresses on logical volumes. Any number of host computers 22are coupled to storage subsystem 20 by any means known in the art, forexample, using a network. Herein, by way of example, host computers 22and storage subsystem 20 are assumed to be coupled by a Storage AreaNetwork (SAN) 26 incorporating data connections 24 and Host Bus Adapters(HBAs) 28. The logical addresses specify a range of data blocks within alogical volume, each block herein being assumed by way of example tocontain 512 bytes. For example, a 10 KB data record used in a dataprocessing application on a given host computer 22 would require 20blocks, which the given host computer might specify as being stored at alogical address comprising blocks 1,000 through 1,019 of a logicalvolume. Storage subsystem 20 may operate in, or as, a SAN system.

Storage subsystem 20 comprises a clustered storage controller 34 coupledbetween SAN 26 and a private network 46 using data connections 30 and44, respectively, and incorporating adapters 32 and 42, againrespectively. In some configurations, adapters 32 and 42 may comprisehost SAN adapters (HSAs). Clustered storage controller 34 implementsclusters of storage modules 36, each of which includes an interface 38(in communication between adapters 32 and 42), and a cache 40. Eachstorage module 36 is responsible for a number of storage devices 50 byway of a data connection 48 as shown.

As described previously, each storage module 36 further comprises agiven cache 40. However, it will be appreciated that the number ofcaches 40 used in storage subsystem 20 and in conjunction with clusteredstorage controller 34 may be any convenient number. While all caches 40in storage subsystem 20 may operate in substantially the same manner andcomprise substantially similar elements, this is not a requirement. Eachof the caches 40 may be approximately equal in size and is assumed to becoupled, by way of example, in a one-to-one correspondence with a set ofphysical storage devices 50, which may comprise disks. In oneembodiment, physical storage devices may comprise such disks. Thoseskilled in the art will be able to adapt the description herein tocaches of different sizes.

Each set of storage devices 50 comprises multiple slow and/or fastaccess time mass storage devices, herein below assumed to be multiplehard disks. FIG. 1 shows caches 40 coupled to respective sets of storagedevices 50. In some configurations, the sets of storage devices 50comprise one or more hard disks, which can have different performancecharacteristics. In response to an I/O command, a given cache 40, by wayof example, may read or write data at addressable physical locations ofa given storage device 50. In the embodiment shown in FIG. 1, caches 40are able to exercise certain control functions over storage devices 50.These control functions may alternatively be realized by hardwaredevices such as disk controllers (not shown), which are linked to caches40.

Each storage module 36 is operative to monitor its state, including thestates of associated caches 40, and to transmit configurationinformation to other components of storage subsystem 20 for example,configuration changes that result in blocking intervals, or limit therate at which I/O requests for the sets of physical storage areaccepted.

Routing of commands and data from HBAs 28 to clustered storagecontroller 34 and to each cache 40 may be performed over a networkand/or a switch. Herein, by way of example, HBAs 28 may be coupled tostorage modules 36 by at least one switch (not shown) of SAN 26, whichcan be of any known type having a digital cross-connect function.Additionally or alternatively, HBAs 28 may be coupled to storage modules36.

In some embodiments, data having contiguous logical addresses can bedistributed among modules 36, and within the storage devices in each ofthe modules. Alternatively, the data can be distributed using otheralgorithms, e.g., byte or block interleaving. In general, this increasesbandwidth, for instance, by allowing a volume in a SAN or a file innetwork attached storage to be read from or written to more than onegiven storage device 50 at a time. However, this technique requirescoordination among the various storage devices, and in practice mayrequire complex provisions for any failure of the storage devices, and astrategy for dealing with error checking information, e.g., a techniquefor storing parity information relating to distributed data. Indeed,when logical unit partitions are distributed in sufficiently smallgranularity, data associated with a single logical unit may span all ofthe storage devices 50.

While not explicitly shown for purposes of illustrative simplicity, theskilled artisan will appreciate that in some embodiments, clusteredstorage controller 34 may be adapted for implementation in conjunctionwith certain hardware, such as a rack mount system, a midplane, and/or abackplane. Indeed, private network 46 in one embodiment may beimplemented using a backplane. Additional hardware such as theaforementioned switches, processors, controllers, memory devices, andthe like may also be incorporated into clustered storage controller 34and elsewhere within storage subsystem 20, again as the skilled artisanwill appreciate. Further, a variety of software components, operatingsystems, firmware, and the like may be integrated into one storagesubsystem 20.

Storage devices 50 may comprise a combination of high capacity hard diskdrives and solid state disk drives. In some embodiments each of storagedevices 50 may comprise a logical storage device. In storage systemsimplementing the Small Computer System Interface (SCSI) protocol, thelogical storage devices may be referred to as logical units, or LUNs.While each LUN can be addressed as a single logical unit, the LUN maycomprise a combination of high capacity hard disk drives and/or solidstate disk drives.

FIG. 2 is a schematic pictorial illustration of module 36 configured tomitigate an impact of false power failure alerts, in accordance with anembodiment of the present invention. Module 36 comprises a processor 60and a memory 62, and is powered by a primary power source 64 (e.g., analternating current outlet). Module 36 also comprises a power sensor 66,a standby power source 68 and a timer 70. Upon detecting a failure ofprimary power source 64 (e.g., no power is detected from the primarypower source), power sensor 66 is configured to convey a power alertsignal to processor 60.

Upon receiving a power alert signal from sensor 66 indicating a failureof power source 64, processor 60 is configured to engage standby powersource 68. Additionally, as explained hereinbelow, processor 60 mayactivate a timer 70 upon receiving the power alert signal. Inalternative embodiments, timer 70 may comprise a software application(also referred to as a daemon) that processor 60 executes from memory62.

Cache 40 comprises a volatile memory 72 and a solid state device such asa solid state drive (SSD) 74. Volatile memory 72 typically compriseshigh-speed memory such as dynamic random-access memory (DRAM) or staticrandom-access memory (SRAM), which theoretically have an unlimitednumber of write/erase cycles. Since write cache data 78 may be updatedfrequently (i.e., the processor clears the write cache data once thewrite cache data is destaged to storage devices 50), processor 60typically stores the write cache data to volatile memory 72 andconfigures the volatile memory as the write cache.

SSD 74 comprises memory elements (e.g., flash memory) that typicallyhave a limited number of write/erase cycles (presently approximately100,000 cycles). Due the limited number of write/erase cycles, processor60 may configure SSD 74 to store read cache data 76, and may configurethe SSD as the read cache.

In some embodiments, the memory elements in SSD 74 may comprisesingle-level cells that are configured to store one bit of data permemory element. In alternative embodiments, the SSD memory elements maycomprise multi-level cells that are configured to store two or more bitsof data in each of the memory elements.

Processor 60 typically configures volatile memory 72 as a write cacheand SSD 74 as a read cache. When SSD 74 is configured as a read cache,processor 60 stores read cache data 76 to the volatile memory. Inoperation, when processor 60 receives a read request from a given hostcomputer 22, and the requested data is stored in read cache data 76,then the processor retrieves the requested data from the read cache andconveys the data to the given host computer.

When volatile memory 72 is configured as the write cache, processor 60stores write cache data 78 to the volatile memory. In operation, whenprocessor 60 receives a write request from a given host computer 22, theprocessor stores the write request data to the write cache in volatilememory 72, and conveys an acknowledgement to the given host computer.The write request data can be destaged from volatile memory 72 tostorage devices 50 at a later time.

As explained hereinbelow, there may be instances when processor 60configures SSD 74 as the write cache (i.e., the SSD is configured asboth the read cache and the write cache). In these instances, processor60 copies write cache data 78 from volatile memory 72 to SSD 74, andupon receiving a write request from a given host computer 22, theprocessor stores the write request data to the write cache in SSD 74,and conveys an acknowledgement to the given host computer. The writerequest data can be destaged from SSD 74 to storage devices 50 at alater time.

Processor 60 typically comprises a general-purpose computer, which isprogrammed in software to carry out the functions described herein. Thesoftware may be downloaded to module 36 in electronic form, over anetwork, for example, or it may be provided on non-transitory tangiblemedia, such as optical, magnetic or electronic memory media.Alternatively, some or all of the functions of processor 60 may becarried out by dedicated or programmable digital hardware components, orusing a combination of hardware and software elements.

The present invention may be a system, a method, and/or a computerprogram product. The computer program product may include a computerreadable storage medium (or media) having computer readable programinstructions thereon for causing a processor to carry out aspects of thepresent invention.

The computer readable storage medium can be a tangible device that canretain and store instructions for use by an instruction executiondevice. The computer readable storage medium may be, for example, but isnot limited to, an electronic storage device, a magnetic storage device,an optical storage device, an electromagnetic storage device, asemiconductor storage device, or any suitable combination of theforegoing. A non-exhaustive list of more specific examples of thecomputer readable storage medium includes the following: a portablecomputer diskette, a hard disk, a random access memory (RAM), aread-only memory (ROM), an erasable programmable read-only memory (EPROMor Flash memory), a static random access memory (SRAM), a portablecompact disc read-only memory (CD-ROM), a digital versatile disk (DVD),a memory stick, a floppy disk, a mechanically encoded device such aspunch-cards or raised structures in a groove having instructionsrecorded thereon, and any suitable combination of the foregoing. Acomputer readable storage medium, as used herein, is not to be construedas being transitory signals per se, such as radio waves or other freelypropagating electromagnetic waves, electromagnetic waves propagatingthrough a waveguide or other transmission media (e.g., light pulsespassing through a fiber-optic cable), or electrical signals transmittedthrough a wire.

Computer readable program instructions described herein can bedownloaded to respective computing/processing devices from a computerreadable storage medium or to an external computer or external storagedevice via a network, for example, the Internet, a local area network, awide area network and/or a wireless network. The network may comprisecopper transmission cables, optical transmission fibers, wirelesstransmission, routers, firewalls, switches, gateway computers and/oredge servers. A network adapter card or network interface in eachcomputing/processing device receives computer readable programinstructions from the network and forwards the computer readable programinstructions for storage in a computer readable storage medium withinthe respective computing/processing device.

Computer readable program instructions for carrying out operations ofthe present invention may be assembler instructions,instruction-set-architecture (ISA) instructions, machine instructions,machine dependent instructions, microcode, firmware instructions,state-setting data, or either source code or object code written in anycombination of one or more programming languages, including an objectoriented programming language such as Smalltalk, C++ or the like, andconventional procedural programming languages, such as the “C”programming language or similar programming languages. The computerreadable program instructions may execute entirely on the user'scomputer, partly on the user's computer, as a stand-alone softwarepackage, partly on the user's computer and partly on a remote computeror entirely on the remote computer or server. In the latter scenario,the remote computer may be connected to the user's computer through anytype of network, including a local area network (LAN) or a wide areanetwork (WAN), or the connection may be made to an external computer(for example, through the Internet using an Internet Service Provider).In some embodiments, electronic circuitry including, for example,programmable logic circuitry, field-programmable gate arrays (FPGA), orprogrammable logic arrays (PLA) may execute the computer readableprogram instructions by utilizing state information of the computerreadable program instructions to personalize the electronic circuitry,in order to perform aspects of the present invention.

Aspects of the present invention are described herein with reference toflowchart illustrations and/or block diagrams of methods, apparatus(systems), and computer program products according to embodiments of theinvention. It will be understood that each block of the flowchartillustrations and/or block diagrams, and combinations of blocks in theflowchart illustrations and/or block diagrams, can be implemented bycomputer readable program instructions.

These computer readable program instructions may be provided to aprocessor of a general purpose computer, special purpose computer, orother programmable data processing apparatus to produce a machine, suchthat the instructions, which execute via the processor of the computeror other programmable data processing apparatus, create means forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks. These computer readable program instructionsmay also be stored in a computer readable storage medium that can directa computer, a programmable data processing apparatus, and/or otherdevices to function in a particular manner, such that the computerreadable storage medium having instructions stored therein comprises anarticle of manufacture including instructions which implement aspects ofthe function/act specified in the flowchart and/or block diagram blockor blocks.

The computer readable program instructions may also be loaded onto acomputer, other programmable data processing apparatus, or other deviceto cause a series of operational steps to be performed on the computer,other programmable apparatus or other device to produce a computerimplemented process, such that the instructions which execute on thecomputer, other programmable apparatus, or other device implement thefunctions/acts specified in the flowchart and/or block diagram block orblocks.

Write Cache Reconfiguration

FIG. 3 is a flow diagram that schematically illustrates a method ofreconfiguring the write cache, in accordance with an embodiment of thepresent invention. In the embodiments described herein, volatile memory72 is initially configured as a write cache and SSD 74 is initiallyconfigured as a read cache. In other words, processor 60 initiallystores write cache data 78 to volatile memory 72 and read cache data 76to SSD 74.

In an alert step 80, processor 60 receives a power alert signal frompower sensor 66. The power alert can indicate a loss of power fromprimary power source 64, or a low power status for standby power source68. In some embodiments, standby power source 68 comprises one or morebatteries, and the low power status comprises the batteries having a lowcharge. If standby power source 68 has a low power status, the standbypower source may not be able to provide module 36 with enough power toshut down without losing the write cache data stored in volatile memory72.

In a timer step 82, processor 60 starts timer 70 upon receiving thepower alert. In the embodiments described herein, timer 70 “expires”after a specific time period. In some embodiments, timer 70 can beconfigured to convey an expiration message to processor 60 when thetimer expires. In alternative embodiments, processor 60 can monitortimer 70 to determine if timer 70 has expired.

The specific time period may be slightly longer than a time period thatstandby power source 68 can power module 36. For example, if standbypower source 68 comprises one or more batteries that can power module 36for fifteen minutes, the specific time period can be set to twentyminutes. Therefore, if timer 70 expires, then the power alert wasprobably a false alarm (or full power has been restored to module 36from primary power source 64. On the other hand, if the power alert isreal and power is not restored to module 36 from primary power source64, then module 36 shuts down once standby power source 68 is exhausted(e.g., the batteries discharge completely).

In a first copy step 84, the processor copies write cache data 78 fromvolatile memory 72 to SSD 74. Using embodiments described supra, in afirst configuration step 86, processor 60 configures SSD 74 as the writecache. In other words, SSD 74 is now configured as both the read cacheand the write cache. When SSD 74 is configured as both the read cacheand the write cache, module 36 is referred to herein as operating in a“power alarm mode.”

Upon configuring SSD 74 as the write cache and receiving a write requestfrom a given host computer 22, processor 60 conveys the write requestdata to write cache data 78 in SSD 74. Configuring SSD 74 as the writecache ensures that all write request data received is stored in apersistent state in the SSD. As described supra, upon receiving a writerequest from a given host computer 22, processor 60 conveys anacknowledgement after storing the write request data to write cache data78. Therefore if the power alert is real and module 60 shuts down oncestandby power source 68 is exhausted, no data will be lost since datafrom all write requests that were acknowledged is stored either in SSD74 or on storage devices 50 (i.e., after processor 60 destages writerequest data from the write cache to the storage devices).

As described supra, SSD 74 may comprise either single-level cells ormulti-level memory cells (also referred to herein as single-layer SSDsand a multi-layer SSDs respectively). Multi-layer SSDs typically employtwo overlapping blocks of non-volatile solid state memory in order toincrease storage density. If a power interruption occurs during a writeto the second block, data in both the second block and the first blockmay be corrupted, since metadata typically stored in the first layer mayalso be modified while writing to the second block. In embodiments ofthe present invention, processor 60 may write only to the first layer ofthe multi-layer SSD (i.e., SSD 74) when the SSD is configured as thewrite cache, thereby reducing a chance of any data loss if processor 60is writing to the SSD when module 36 shuts down (i.e., once standbypower source 68 is exhausted).

In some embodiments, processor 60 can limit (i.e., “throttle”) writes toSSD 74 in order to reduce SSD wear (i.e., due to the limited number ofwrite/erase cycles inherent to SSDs described supra). As describedsupra, storage devices 50 may be configured as LUNs. In order to reducethe wear on SSD 74 (and thereby increasing the operational life of theSSD), processor 60 may be configured to service write requests only fora specific subset of the LUNs when module 36 is operating in the poweralarm mode.

In a first comparison step 88, if timer 70 expires, then the power alertwas probably a false alarm. If timer 70 has not expired then the methodcontinues looping back to the comparison step until either the timerexpires or module 36 shuts down (i.e., once standby power source 68 isexhausted). If the timer expired, then in a test step 90, a systemadministrator (not shown) can initiate a health test on module 36. Thehealth test can be performed by processor 60 or external hardware (notshown). The health test may comprise testing hardware components (e.g.,storage devices 50, memory 62 and timer 70) and any software executingon processor 60 (i.e., from memory 62).

In a second comparison step 92, if module 36 passes the health test,then the power alert was a false alarm, and in a second copy step 96,processor 60 copies write cache data 78 from SSD 74 to volatile memory72. In a second configuration step 98, processor 60 configures thevolatile memory as the write cache, and the method ends. In other words,if the power alert was a false alarm, then processor 60 reconfigures thewrite cache back to its original configuration (i.e., the configurationprior to step 84).

Returning to second comparison step 92, if module 36 did not pass thehealth test, then in a correction step 94, the system administrator cancorrect any problems detected by the health test (e.g., replace a memoryboard), and the method continues with step 96.

In some embodiments, power sensor 66 may be configured to convey asubsequent message to processor 60 upon detecting that the previouslyconveyed power alert was a false alarm. Upon receiving the subsequentmessage, processor 60 can reconfigure the write cache (as described insteps 96 and 98) without waiting for timer 70 to expire.

The flowchart and block diagrams in the Figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods and computer program products according to variousembodiments of the present invention. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof code, which comprises one or more executable instructions forimplementing the specified logical function(s). It should also be notedthat, in some alternative implementations, the functions noted in theblock may occur out of the order noted in the figures. For example, twoblocks shown in succession may, in fact, be executed substantiallyconcurrently, or the blocks may sometimes be executed in the reverseorder, depending upon the functionality involved. It will also be notedthat each block of the block diagrams and/or flowchart illustration, andcombinations of blocks in the block diagrams and/or flowchartillustration, can be implemented by special purpose hardware-basedsystems that perform the specified functions or acts, or combinations ofspecial purpose hardware and computer instructions.

It will be appreciated that the embodiments described above are cited byway of example, and that the present invention is not limited to whathas been particularly shown and described hereinabove. Rather, the scopeof the present invention includes both combinations and subcombinationsof the various features described hereinabove, as well as variations andmodifications thereof which would occur to persons skilled in the artupon reading the foregoing description and which are not disclosed inthe prior art.

1. A method, comprising: receiving a signal indicating a loss of power,starting a timer, the timer configured to expire after a specific timeperiod, copying, by a distributed storage system having volatile memoryconfigured as a write cache, write cache data from the volatile memoryto a solid state device, upon receiving the signal indicating the lossof power to the storage system, configuring, subsequent to copying thewrite cache data, the solid state device as both a read cache and thewrite cache, performing a health test on the storage system uponreceiving the signal indicating the loss of power, and determining theloss of power as a false alarm if the timer expires after one ofconfiguring the solid state device as both the read cache and the writecache and the storage system passes a health test on the storage systemupon receiving the signal indicating the loss of power.
 2. The method ofclaim 1, further including, upon the timer expiring and the storagesystem passing the health test, copying the write cache data from thesolid state device back to the volatile memory, and configuring,subsequent to copying the write cache data to the volatile memory, thevolatile memory as the write cache.
 3. The method according to claim 1,wherein the solid state device comprises a non-volatile solid statememory.
 4. The method according to claim 3, wherein the solid statedevice is selected from a list comprising a single-layer solid statedrive (SSD) and a multi-layer SSD.
 5. The method according to claim 4,wherein copying the write cache data to the SSD comprises copying thewrite cache data to a first layer of the multi-layer SSD.
 6. Adistributed storage system, comprising: a volatile memory configured asa write cache; and a processor configured to: receive a signalindicating a loss of power, start a timer, the timer configured toexpire after a specific time period, copy write cache data from thevolatile memory to a solid state device, upon receiving the signalindicating the loss of power to the storage system, configure,subsequent to copying the write cache data, the solid state device asboth a read cache and the write cache, perform a health test on thestorage system upon receiving the signal indicating the loss of power,and determine the loss of power as a false alarm if the timer expiresafter one of configuring the solid state device as both the read cacheand the write cache and the storage system passes a health test on thestorage system upon receiving the signal indicating the loss of power.7. The storage system according to claim 6, wherein the processor, uponthe timer expiring and the storage system passing the health test,copies the write cache data from the solid state device back to thevolatile memory, and configures, subsequent to copying the write cachedata to the volatile memory, the volatile memory as the write cache. 8.The storage system according to claim 6, wherein the solid state devicecomprises a non-volatile solid state memory.
 9. The storage systemaccording to claim 8, wherein the solid state device is selected from alist comprising a single-layer solid state drive (SSD) and a multi-layerSSD.
 10. The storage system according to claim 9, wherein the processoris configured to copy the write cache data to the SSD by copying thewrite cache data to a first layer of the multi-layer SSD.
 11. A computerprogram product, the computer program product comprising: anon-transitory computer readable storage medium having computer readableprogram code embodied therewith, the computer readable program codecomprising: computer readable program code configured to configure avolatile memory configured as a write cache, computer readable programcode configured to receive a signal indicating a loss of power, computerreadable program code configured to start a timer, the timer configuredto expire after a specific time period, computer readable program codeconfigured to copy, in a storage system, write cache data from avolatile memory configured as a write cache to a solid state device,upon receiving the signal indicating the loss of power to the storagesystem; and computer readable program code configured to configure,subsequent to copying the write cache data, the SSD device as both aread cache and the write cache computer readable program code configuredto perform a health test on the storage system upon receiving the signalindicating the loss of power, and computer readable program codeconfigured to determine the loss of power as a false alarm if the timerexpires after one of configuring the solid state device as both the readcache and the write cache and the storage system passes a health test onthe storage system upon receiving the signal indicating the loss ofpower, and


12. The computer program product according to claim 11, furthercomprising computer readable program code configured to computerreadable program code configured to, upon the timer expiring and thestorage system passing the health test, copy the write cache data fromthe SSD back to the volatile memory, and configure, subsequent tocopying the write cache data to the volatile memory, the volatile memoryas the write cache.
 13. The computer program product according to claim11, wherein the solid state device comprises a non-volatile solid statememory.
 14. The computer program product according to claim 13, whereinthe solid state device is selected from a list comprising a single-layersolid state drive (SSD) and a multi-layer SSD.
 15. The computer programproduct according to claim 14, wherein the computer readable programcode is configured to copy the write cache data to the SSD by copyingthe write cache data to a first layer of the multi-layer SSD.